
		**********************************************************
		** File: EBA pdest 46-58.do								**
		** Paper: Human Trafficking Indicators: A New Dataset	**
		** Author: Richard Frank								**
		** Date: July 11, 2021									**
		** Task: Running 4th series of pdest EBA models			**
 		**********************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				 cd "C:\Users\Administrator\Desktop\"
				use "HT EBA merged DV and IVs.dta"

  
**************
 ** 46. tourism **
 ***************
		
		probit F.pdest /**/ tourism  /**/
		regsave using /**/ eba_pdest_46 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa /**/    trade unemployment urban 				///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ tourism /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_46 /**/, tstat pval ci autoid append detail(all) 	
						}		


**************
 ** 47. trade **
 ***************
		
		probit F.pdest /**/  trade /**/
		regsave using /**/ eba_pdest_47 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism /**/     unemployment urban 				///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ trade /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_47 /**/, tstat pval ci autoid append detail(all) 	
						}		



**************
 ** 48. unemployment **
 ***************
		
		probit F.pdest /**/ unemployment  /**/
		regsave using /**/ eba_pdest_48 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade /**/      urban 						///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ unemployment /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_48 /**/, tstat pval ci autoid append detail(all) 	
						}		



**************
 ** 49. urban **
 ***************
		
		probit F.pdest /**/ urban  /**/
		regsave using /**/ eba_pdest_49 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment /**/       				///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ urban /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_49 /**/, tstat pval ci autoid append detail(all) 	
						}		


**************
 ** 50. vae **
 ***************
		
		probit F.pdest /**/ vae  /**/
		regsave using /**/ eba_pdest_50 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 /**/  visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ vae /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_50 /**/, tstat pval ci autoid append detail(all) 	
						}		


**************
 ** 51. visa **
 ***************
		
		probit F.pdest /**/ visa  /**/
		regsave using /**/ eba_pdest_51 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae /**/   wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ visa /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_51 /**/, tstat pval ci autoid append detail(all) 	
						}		


**************
 ** 52. wecon **
 ***************
		
		probit F.pdest /**/ wecon  /**/
		regsave using /**/ eba_pdest_52 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa /**/     english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ wecon /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_52 /**/, tstat pval ci autoid append detail(all) 	
						}		
	

**************
 ** 53. english **
 ***************
		
		probit F.pdest /**/ english   /**/
		regsave using /**/ eba_pdest_53 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  /**/      						///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ english /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_53 /**/, tstat pval ci autoid append detail(all) 	
						}		



**************
 ** 54. french **
 ***************
		
		probit F.pdest /**/  french  /**/
		regsave using /**/ eba_pdest_54 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  english      						///
		 /**/   german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ french /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_54 /**/, tstat pval ci autoid append detail(all) 	
						}		

**************
 ** 55. german **
 ***************
		
		probit F.pdest /**/  german  /**/
		regsave using /**/ eba_pdest_55 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  english      						///
		 french /**/    spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ german /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_55 /**/, tstat pval ci autoid append detail(all) 	
						}		

**************
 ** 56. spanish **
 ***************
		
		probit F.pdest /**/ spanish   /**/
		regsave using /**/ eba_pdest_56 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  english      						///
		 french german /**/     portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ spanish /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_56 /**/, tstat pval ci autoid append detail(all) 	
						}		


**************
 ** 57. portuguese **
 ***************
		
		probit F.pdest /**/ portuguese   /**/
		regsave using /**/ eba_pdest_57 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  english      						///
		 french german spanish /**/      landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ portuguese /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_57 /**/, tstat pval ci autoid append detail(all) 	
						}		



**************
 ** 58. landlocked **
 ***************
		
		probit F.pdest /**/  landlocked  /**/
		regsave using /**/ eba_pdest_58 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 ssa tourism trade unemployment urban      				///
		 vae visa wecon  english      						///
		 french german spanish portuguese /**/       						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.pdest /**/ landlocked /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_pdest_58 /**/, tstat pval ci autoid append detail(all) 	
						}		







								
								
								
								
								
